package com.hefei.garden.mapper;

import com.hefei.garden.pojo.domain.UserInfo;
import com.hefei.garden.pojo.dto.UserInfoDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: devil
 * @Date: 2022/7/17 11
 * @Description:
 */
@Mapper
@Repository
public interface UserMapper {

    void insertUserInfo(@Param("userInfos") UserInfo userInfo);

    List<UserInfo> getUserInfoByParam(@Param("userInfoDto") UserInfoDto userInfoDto);
}
